import type { AppRouteModule } from '/@/router/types';
import { LAYOUT } from '/@/router/constant';

const warehouse: AppRouteModule = {
  path: '/warehouse',
  name: 'Warehouse',
  component: LAYOUT,
  redirect: '/warehouse/wmsWarehouses',
  meta: {
    orderNo: 50,
    icon: 'ant-design:home-outlined',
    title: '仓库管理',
  },
  children: [
    {
      path: 'wmsWarehouses',
      name: 'WmsWarehousesList',
      component: () => import('/@/views/warehouse/WmsWarehousesList.vue'),
      meta: {
        title: '仓库列表',
      },
    },
    {
      path: 'wmsStorageZones',
      name: 'WmsStorageZonesList',
      component: () => import('/@/views/warehouse/WmsStorageZonesList.vue'),
      meta: {
        title: '库区列表',
      },
    },
    {
      path: 'wmsStorageLocations',
      name: 'WmsStorageLocationsList',
      component: () => import('/@/views/warehouse/WmsStorageLocationsList.vue'),
      meta: {
        title: '库位列表',
      },
    },
  ],
};

export default warehouse; 